From 548f6138ef674445c0f19f03db5e9d99f7d43ce5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Thu, 16 Feb 2017 12:22:33 +0100 Subject: [PATCH] Add a few missing (nullable) annotations --- gtk/gtkbutton.c | 2 +- gtk/gtkgesture.c | 4 ++-- gtk/gtkimage.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c index 7ac14e54bd..df8e455c79 100644 --- a/gtk/gtkbutton.c +++ b/gtk/gtkbutton.c @@ -661,7 +661,7 @@ gtk_button_new_with_label (const gchar *label) /** * gtk_button_new_from_icon_name: - * @icon_name: an icon name + * @icon_name: (nullable): an icon name or %NULL * @size: (type int): an icon size (#GtkIconSize) * * Creates a new button containing an icon from the current icon theme. diff --git a/gtk/gtkgesture.c b/gtk/gtkgesture.c index 3d755101c6..64426c899e 100644 --- a/gtk/gtkgesture.c +++ b/gtk/gtkgesture.c @@ -1523,12 +1523,12 @@ _gtk_gesture_check (GtkGesture *gesture) /** * gtk_gesture_handles_sequence: * @gesture: a #GtkGesture - * @sequence: a #GdkEventSequence + * @sequence: (nullable): a #GdkEventSequence or %NULL * * Returns %TRUE if @gesture is currently handling events corresponding to * @sequence. * - * Returns: %TRUE if @gesture is handling @sequence + * Returns: %TRUE if @gesture is handling @sequence, %FALSE otherwise * * Since: 3.14 **/ diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c index d788270abd..1ed309ffb5 100644 --- a/gtk/gtkimage.c +++ b/gtk/gtkimage.c @@ -1063,7 +1063,7 @@ gtk_image_set_from_gicon (GtkImage *image, /** * gtk_image_set_from_surface: * @image: a #GtkImage - * @surface: a cairo_surface_t + * @surface: (nullable): a cairo_surface_t or %NULL * * See gtk_image_new_from_surface() for details. * -- 2.30.2